package com.example.bankmanage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.bankmanage.entity.users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface UserMapper extends BaseMapper<users> {
    @Select("select * from users")
    List<users> findAll();
}
